﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="728"
	x:Class="RSUDay1.VDOPlayer"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait" SupportedOrientations="PortraitOrLandscape">
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar>
			<shell:ApplicationBar.MenuItems>
				<shell:ApplicationBarMenuItem x:Name="shareButton" Text="share" Click="shareButton_Click"/>
				<shell:ApplicationBarMenuItem x:Name="aboutButton" Text="about this video" Click="aboutButton_Click"/>
			</shell:ApplicationBar.MenuItems>
			<shell:ApplicationBarIconButton x:Name="playButton" IconUri="/icons/appbar.transport.play.rest.png" Text="Play" Click="playButton_Click"/>
			<shell:ApplicationBarIconButton x:Name="stopButton" Text="stop" IconUri="/icons/stop.png" Click="stopMV"/>
			<shell:ApplicationBarIconButton x:Name="volumnUpButton" Text="up" IconUri="/icons/volumn-up.png" Click="volumnUP"/>
			<shell:ApplicationBarIconButton x:Name="volumnDownButton" IconUri="/icons/volumn-down.png" Text="down" Click="volumnDown"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>
	<Grid>
		<MediaElement x:Name="maboy_mp4" Source="/Videos/maboy.mp4" Stretch="Fill"/>
	</Grid>

	<!--LayoutRoot is the root grid where all page content is placed-->
</phone:PhoneApplicationPage>